Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NetBeans launch failure on unix shell for arguments with quotes et al #314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sid-srini
Copy link
Member

Backporting Netbeans PR #7908 (still under review) in order for the LSP server launch to work for launch arguments including the project path containing special characters like quotes, spaces, backticks and $.

This is an interim patch to mitigate the effect on user experience, while the upstream PR is under review. It will be updated to the approved patch, as and when it is made available.

This is partially related to #301, which only fixes for spaces in arguments.

Additionally, the same diff is applied to script/bin/nbcode which is a copy of the netbeans java.lsp.server module's copy.

…t al

Backporting Netbeans PR #7908 (still under review) in order for the LSP
server launch to work for launch arguments including the project path
containing special characters like quotes, spaces, backticks and $.

This is an interim patch to mitigate the effect on user experience,
while the upstream PR is under review. It will be updated to the
approved patch, as and when it is made available.

This is partially related to oracle#301, which only fixes for spaces in
arguments.

Additionally, the same diff is applied to script/bin/nbcode which is a
copy of the netbeans java.lsp.server module's copy.

Signed-off-by: Siddharth Srinivasan <[email protected]>
@sid-srini sid-srini added this to the JVSC 23.0.1 milestone Oct 30, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 30, 2024
@sid-srini sid-srini modified the milestone: JVSC 23.0.1 Oct 30, 2024
Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I am not very familiar with shell scripts so please @naren2605 if you can have a look then it would be great.

@sid-srini sid-srini removed this from the JVSC 23.0.1 milestone Nov 9, 2024
@sid-srini sid-srini added the do not merge Don't merge PR label Nov 9, 2024
@sid-srini sid-srini added this to the JVSC 23.1.0 milestone Nov 9, 2024
@sid-srini sid-srini modified the milestones: JVSC 23.1.0, JVSC 23.1.1 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Don't merge PR OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants